Read the results of a detection or segmentation model
A detection or segmentation model finds objects, so it can be right or wrong in more ways than a classifier: it can miss an object, see one that is not there, or find the right number of objects with an imprecise outline. The platform measures each of these. In this guide you read them on a model that finds the biscuits of a pack.
What you will learn
- What instance, presence and count matching metrics measure
- How to read the background row and column of the matrix
- How to compare a prediction with the manual annotation
Before you start
You need an object detection or segmentation dataset with a finished training. The scores themselves are explained in Read the results of a classification model.
1. Open the model
Open the dataset, go to the «Models» tab and click the card of a finished model.
2. Read the instance metrics
«Instance metrics», the first evaluation type, judge each object on its own: a predicted biscuit counts as right when it overlaps a labeled biscuit enough. «Precision» is the share of predicted objects that are real; «Recall», the share of real objects the model found; «F1 Score» combines both. Use them when the exact position or outline matters.

3. Read the background row and column
In the matrix, the «background» row holds predictions where there is no object: false alarms. The «background» column holds real objects the model did not find: misses. Here 93 % of the biscuits were found and 7 % were missed, and the «background» row holds the one false alarm. «Show units» switches to counts: 39 found, 3 missed. Click a cell to see its images.

4. Switch to presence metrics
Open «Evaluation type» and choose «Presence metrics». They ignore how many objects there are and where: they only ask whether a tag is in the image. They fit an inspection that rejects a product when a defect appears at all.

5. Switch to count matching
Choose «Count matching metrics». An image is right when the model predicts as many objects of each tag as were labeled, wherever they are. «Undercount» and «Overcount» say which way it went wrong. They fit an inspection that counts, such as four biscuits per pack.

6. Look at the evaluation images
Click «Evaluation images». Each image shows the objects the model found, with the most and the least confident one. With presence or count matching metrics, a green border means the image is right at the confidence threshold above, a red one that it is wrong. Choose the confidence threshold of a model explains the threshold.

7. Open an image
Click an image to open it. The viewer draws the predicted objects with their tag and confidence; «Annotations» and «Labels» hide or show them.
8. Compare with the manual annotation
Click the button with two columns, «Compare with the manual annotation»: the prediction of the model appears on the left and the annotation made by hand on the right. A missing or extra object, or an outline that does not fit, stands out at once.

Which metrics to look at
| Your inspection | Look at |
|---|---|
| Measures or locates each object or defect | Instance metrics |
| Rejects a product when a defect appears at all | Presence metrics |
| Checks that there are as many objects as there should be | Count matching metrics |
The selector next to the evaluation type chooses the images the scores are measured on: «Test», «Validation» or «All».
Next steps
Recorded on Rosepetal release 1.8.15.